package com.company.demo;

/**
 * 一个简单的道具对象
 *
 * @author 小流氓[176543888@qq.com]
 */
public class SimpleItem {

    /**
     * 道具的编码
     */
    private String code;
    /**
     * 数量
     */
    private int num;

    public SimpleItem() {
    }

    public SimpleItem(String code, int num) {
        this.code = code;
        this.num = num;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
